Tip Bank

DevX - Software Development Resource

LOCATE versus GO TOP

Question: Which is faster, LOCATE (without parameters) or GO TOP? How fast is the one from the other? Why is one faster than the other? Answer: They are usually equal

DevX - Software Development Resource

Forms in Informix OnLine 7.2

Question: In Informix SE, I can use ISQL to generate a default form from a table and then query, update, or delete data within the form? How do I do

DevX - Software Development Resource

Ontape for Backups to Disk

Question: How can ‘Ontape’ functions be used to back up Informix/Lawson DB to disk? Is dbspace required or can a large area in a directory (e.g., /gsc/bigspace) be used? Answer:

DevX - Software Development Resource

Memory Initialization Problems

Question: I cannot initialize the program after I have installed it. When I run “oninit”, it seems to work, but then when I run “onstat” it tells me that the

DevX - Software Development Resource

FormatPhoneNumber – Format a phone number

‘ Modify a phone-number to the format “XXX-XXXX” or “(XXX) XXX-XXXX”.Function FormatPhoneNumber(ByVal text As String) As String Dim i As Long ‘ ignore empty strings If Len(text) = 0 Then

DevX - Software Development Resource

ConvertCamelCase – Convert from a string in camel case

‘ change a sentence in CamelCase to a sentence with spaces’ for example ConvertCamelCase(“FileExchange”) => “File Exchange”Public Function ConvertCamelCase(ByVal Value As String) As String Dim i As Long For i