Search/replace a boolean field

mdPartnerNL
Member Posts: 802
I've found this by accident while renaming,renumbering fields
You can't search and replace on a Checkbox
> Export the form with the checkbox to .txt
> Edit the .txt and change ;CheckBox; to ;TextBox;
> Import the .txt and compile
and now you have a Yes/No field and .. search/replace works
ps.
I have seen this done without a .txt file too. Please let me know how?
You can't search and replace on a Checkbox
> Export the form with the checkbox to .txt
> Edit the .txt and change ;CheckBox; to ;TextBox;
> Import the .txt and compile
and now you have a Yes/No field and .. search/replace works
ps.
I have seen this done without a .txt file too. Please let me know how?
0
Comments
-
hehumm
> in CA/L just add a text field to a form
> change the source expression to a boolan field0 -
In this case i would create a report with the record as the dataitem and set a tableview to change only selected records. After it, you can easily write two line code in OnAfterGetRecord:
BooleanField := TRUE/FALSE;
MODIFY;
Press Strg+r and run the report. This ist much more effectiv.0 -
Yesterday I spend 15 minutes explaning the customer to use ctrl+Home key. Not realising in German this is called Strg+Home.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions