XML to BO


Author
Message
Keith Chisarik
Keith Chisarik
StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)
Group: StrataFrame Users
Posts: 939, Visits: 40K
I need to import data from a number of XML documents, I looked through the SF namespaces for a function to do this but didn't find anything. I want to makes sure I am not missing it before I do it by hand like I used to do with a reader. Essentially I am looking for VFP's 'cursortoxml'. Do you have something like that I have missed?

Keith Chisarik
Replies
Keith Chisarik
Keith Chisarik
StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)StrataFrame VIP (2.4K reputation)
Group: StrataFrame Users
Posts: 939, Visits: 40K
How do I save the BO with my newly added records then?



I tried putting it in edit mode, the save() then causes a collision.

Keith Chisarik
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
If all of those rows need to be set to dirty, the you can manually set each of those rows into a dirty state.

Me.CurrentDataTable.Rows(0).SetModified()

This will tell the BO that this record needs to be updated.  If it is a new record then use this method:

Me.CurrentDataTable.Rows(0).SetAdded()

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Keith Chisarik - 20 Years Ago
Trent L. Taylor - 20 Years Ago
Trent L. Taylor - 20 Years Ago
     nice...... ty
Keith Chisarik - 20 Years Ago
Keith Chisarik - 20 Years Ago
StrataFrame Team - 20 Years Ago
Trent L. Taylor - 20 Years Ago
Daniel Essin - 20 Years Ago
Keith Chisarik - 20 Years Ago
Trent L. Taylor - 20 Years Ago
Keith Chisarik - 20 Years Ago
Trent L. Taylor - 20 Years Ago
Keith Chisarik - 20 Years Ago
Trent L. Taylor - 20 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search