Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Wednesday, November 27, 2024 
 
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!
 Architect Forums - SalesLogix Scripting & Customization
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.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: datagrid
David Ogles
Posts: 51
 
datagridYour last visit to this thread was on 1/1/1970 12:00:00 AM
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
[Reply][Quote]
David Ogles
Posts: 51
 
Re: datagridYour last visit to this thread was on 1/1/1970 12:00:00 AM
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
[Reply][Quote]
Marc Johnson
Posts: 252
 
Re: datagridYour last visit to this thread was on 1/1/1970 12:00:00 AM
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.
[Reply][Quote]
David Ogles
Posts: 51
 
Re: datagridYour last visit to this thread was on 1/1/1970 12:00:00 AM
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
[Reply][Quote]
 Page 1 of 1 
  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!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/27/2024 2:40:50 AM