11/27/2024 2:23:24 AM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
|
|
|
|
datagrid
Posted: 11 Jan 07 10:34 AM
|
fiogf49gjkf0d I am attempting to build a form that pulls assets from an account into a datagrid. I have the form working where when I select a specific event, it populates the datagrid with the assets from that specific account. I have a button that when click, would write a record in a sale table. My problem is that when I select one (or multiple) rows and then click the button, I get a BOF or EOF error. And I've also noticed that if I click one one of the column headings in the grid, the data disappears. What am I doing wrong or missing?
thanks, Dave |
|
|
|
Re: datagrid
Posted: 11 Jan 07 2:08 PM
|
fiogf49gjkf0d I have the datagrid issue fixed. it seemed to be that it was not bound. anyways, the issue seems to be the selecting of row(s) and writing to a table. It is actually writing a row in the table, but not with the correct data.
Any help would be greatly appreciated.
thanks, dave |
|
|
|
Re: datagrid
Posted: 12 Jan 07 7:33 AM
|
fiogf49gjkf0d Is this on a data form or a managed form? A data form can be bound at the time of creating the form and a lot of the database connectivity work is done for you. Sounds like you have a table that you are wanting to bind to so that should work.
A managed form requires that you write all your database connectivity, reads,writes and the like manually. Nothing wrong with that and it can be VERY powerful when needed, but it sounds like you are doing a pretty simple data grid view and it would be over kill to do a managed form. IMO. |
|
|
|
Re: datagrid
Posted: 12 Jan 07 8:07 AM
|
fiogf49gjkf0d it is a managed form. I tried with a data form but got the same results. For some reason the datagrid will not populate on open. What I had to do is build a manage form with all of the scripts to pull the data when a button was invoked. From there, I am able to add rows to the table, but just not the correct data. It seems like the getselectedrecordbyid is not correct.
thanks, dave |
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|