I have a datatype of varbinary in SQL Anywhere database. I user this as a user password.
However, in my PB6.5 app, when the user logs on I want to compare what the user types in to the value in the varbinary field. However, when you compare the 2, they will never equal each other because of the...
I'm getting the following error in my compiled PB6.5 app when I'm trying to export my datawindow. The function I'm using is saveasascii() function.
Error:
casused an invalid page fault in module MSVCRT.DLL
What is this DLL's purpose and how can I fix this problem?
I'm not sure if the...
I'm using PB6.5 and I would like to have my toolbuttons on the toolbar the same size you see in pretty much every windows programs(i.e. window IE, excel, word, etc.)
The size of the buttons in these app's are about 1/4 inch in width and height. However, my PB6.5 app, the toolbuttons are about...
I'm using PB6.5 and I would like to add a feature to the app where by if there is no activity by the user(i.e. - mouse clicks, key presses, etc) then the app. would log the user off and bring them back to a login screen.
I know I have to use the Timer event and Timer function in my main window...
I want to be able to mask the passwords once they are stored in the database. Right Now they are masked on the user screen, but after they are stored in the database you can see was the password is.
Can the text be stored as ***'s in the Database?
If so how can you do this? Would this be a PB...
I have a database field(MSSQL Server 7) with datatype of varchar(3000). My datawindow, when exported, has the column type = chae(3000), edit.limit property = 3000.
The value I have in the database, which I double checked, has about 1000 characters. However, when I retrieve this value/field into...
This last post corrected the problem. Thank you very much for all those suggestions.
However, I'm experiencing a new issue. This code is actually for a Rich Text DW(don't know if this matters or not, but I thought I would mention it). The modify() is done for each row after the DW is retrieved...
ls_value is a local string variable. Here is the code:
ls_value="month one"
ls_mod_string during runtime is equal to:
c_field_name.Expression='month one'
ls_err during runtime is:
Line 1 Column 44: incorrect syntax.
I'm trying to modify a computed field during runtime and I'm always getting an error when the Modify function is executed. Here is my code:
ls_mod_string = "c_field_name.Expression='" &
+ ls_value &
+ "'"
ls_err=dwc.Modify(ls_mod_string)
Why am I receiving an error? Am I missing a quote or...
I have a column in my DW that is a DDDW. When I want the user to export the data to a file I want them to have the display value instead of the data value. If I use the
SaveAs() function, the data value is exported. If I use the
SaveAsAscii() Function, the display value is exported. However, the...
I have a window with a user object on it. The user object is a tab control. I have logic in the open event of the window and based on certain logic I want to select a specific tab.
I've used the follwoing logic and both do not work:
tab_1.selectedtab = 3
OR
tab_1.selecttab(3)
What happens...
I've tried this but I get:
Line 1 column 23: incorrect syntax
I know I have this exactly as you stated. Also, my original syntax works fine in sqlanywhere, but not in MSSQL Server. Why would this be?
I'm getting the following error:
Application terminated.
Error: Error accessing external object property text at line 136 in clicked event of object ........
The above error occurs on the following line of code:
tabpage_1.dw_1.object.header_t.Text = ls_string
I double checked that my...
I want to use the SaveAs DW Function to save/export the values of the datawindow. However, one of the columns in the datawindow is a DDDW. Currently when the saveas() function is executed it saves the 'Data Column'. I want to save the 'Display Column' values instead. How can this be accomplished?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.